package cn.aiyuan.query;

import lombok.Data;

/**
 * @author wy
 * @since 2020/7/6
 */
@Data
public class UserQuery {

    private String keyWord;
    private Integer page = 1;
    private Integer size = 10;

    //jpa 分页是从0开始
    public Integer getJpaPageNo(){
        return page - 1;
    }

}
